import {ipcRenderer} from "electron";
import {setApi} from "./base";

const api = {
  cancel: (id) => {
    ipcRenderer.send("cancel" + id);
  },
  confirm: (id) => {
    ipcRenderer.send("confirm" + id);
  },
};

setApi(api)